#pragma once

class CChSLogWriter
{
public:
	static CChSLogWriter* Instance();
	static BOOL Initialize(const CString& strFileName);
	static void Uninitialize();
	~CChSLogWriter();
	void WriteLog(const CString& strMsg);

	static CString FileName() { return Instance()->m_file.GetFilePath(); }
private:
	static CChSLogWriter* s_pInstance;
	CChSLogWriter();

	CUTF16File m_file;
};
